import i18n from '@/locales';
export const uploadSpeedOptions = [
  {
    label: i18n.t('userManage.unlimited'),
    value: 0,
  },
  {
    label: '1 Mbps',
    value: 1024,
  },
  {
    label: '2 Mbps',
    value: 2048,
  },
  {
    label: '5 Mbps',
    value: 5120,
  },
  {
    label: '10 Mbps',
    value: 10240,
  },
  {
    label: i18n.t('userManage.custom'),
    value: 'userdefinedUpload',
  },
];

export const downloadSpeedOptions = [
  {
    label: i18n.t('userManage.unlimited'),
    value: 0,
  },
  {
    label: '1 Mbps',
    value: 1024,
  },
  {
    label: '2 Mbps',
    value: 2048,
  },
  {
    label: '5 Mbps',
    value: 5120,
  },
  {
    label: '10 Mbps',
    value: 10240,
  },
  {
    label: '20 Mbps',
    value: 20480,
  },
  {
    label: '50 Mbps',
    value: 51200,
  },
  {
    label: i18n.t('userManage.custom'),
    value: 'userdefinedDownload',
  },
];

export const periodOptions = [
  {
    label: i18n.t('userManage.unlimited'),
    value: 0,
  },
  {
    label: i18n.tc('userManage.minutes', 30),
    value: 30,
  },
  {
    label: i18n.tc('userManage.hours', 1),
    value: 60,
  },
  {
    label: i18n.tc('userManage.hours', 2),
    value: 120,
  },
  {
    label: i18n.tc('userManage.days', 1),
    value: 1440,
  },
  {
    label: i18n.tc('userManage.days', 2),
    value: 2880,
  },
  {
    label: i18n.tc('userManage.weeks', 1),
    value: 10080,
  },
  {
    label: i18n.tc('userManage.weeks', 2),
    value: 20160,
  },
  {
    label: i18n.tc('userManage.days', 30),
    value: 43200,
  },
  {
    label: i18n.t('userManage.custom'),
    value: 'userdefinedperiod',
  },
];

export const dataQuotaOptions = [
  {
    label: i18n.t('userManage.unlimited'),
    value: 0,
  },
  {
    label: '100 MB',
    value: 100,
  },
  {
    label: '200 MB',
    value: 200,
  },
  {
    label: '500 MB',
    value: 500,
  },
  {
    label: '1 GB',
    value: 1024,
  },
  {
    label: '2 GB',
    value: 2048,
  },
  {
    label: i18n.t('userManage.custom'),
    value: 'userdefined',
  },
];

export const timePeriodUnits = [
  {
    label: i18n.t('userManage.minuteUnit'),
    value: 'minutes',
  },
  {
    label: i18n.tc('userManage.hours', 0),
    value: 'hours',
  },
  {
    label: i18n.tc('userManage.days', 0),
    value: 'days',
  },
  {
    label: i18n.tc('userManage.weeks', 0),
    value: 'weeks',
  },
];

export const quotaUnites = [
  {
    label: 'MB',
    value: 'MB',
  },
  {
    label: 'GB',
    value: 'GB',
  },
];

export const uploadRateUnits = [
  {
    label: 'Kbps',
    value: 'Kbps',
  },
  {
    label: 'Mbps',
    value: 'Mbps',
  },
];

export const downloadRateUnits = [
  {
    label: 'Kbps',
    value: 'Kbps',
  },
  {
    label: 'Mbps',
    value: 'Mbps',
  },
];
